package com.sokal.easycare.modules.kpoint.entity;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sokal.easycare.common.persistence.FileEntity;

/**
 * 体验店附件Entity
 * @author lihaipei
 * @version 2017-03-19
 */
public class KPointFile extends FileEntity<KPointFile> {
	
	private static final long serialVersionUID = 1L;
	private KPointMain kPointMain;		// 体验店
	
	public KPointFile() {
		super();
	}

	public KPointFile(String id){
		super(id);
	}

	@JsonIgnore
	@NotNull(message = "体验店名称不能为空")
	public KPointMain getkPointMain() {
		return kPointMain;
	}

	public void setkPointMain(KPointMain kPointMain) {
		this.kPointMain = kPointMain;
	}

}